package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "mall_auction_apply")
public class MallAuctionApply {
    @Id
    private Integer id;

    @Column(name = "user_id")
    private Integer userId;

    @Column(name = "package_no")
    private Long packageNo;

    /**
     * 0:申请中  1:拒绝  2:通过  3:自己取消
     */
    private Integer status;

    private String phone;

    private String opinion;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return package_no
     */
    public Long getPackageNo() {
        return packageNo;
    }

    /**
     * @param packageNo
     */
    public void setPackageNo(Long packageNo) {
        this.packageNo = packageNo;
    }

    /**
     * 获取0:申请中  1:拒绝  2:通过  3:自己取消
     *
     * @return status - 0:申请中  1:拒绝  2:通过  3:自己取消
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置0:申请中  1:拒绝  2:通过  3:自己取消
     *
     * @param status 0:申请中  1:拒绝  2:通过  3:自己取消
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return opinion
     */
    public String getOpinion() {
        return opinion;
    }

    /**
     * @param opinion
     */
    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }
}